package com.ls.controller.login.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @ClassName LonginModel
 * @Description 用户登录model
 * @Author TangQuanBin
 * @Date 2019/9/16 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LoginOffLineModel {
    @ApiModelProperty(value = "账号")
    @NotNull(message = "账号不得为空")
    private String account;

    @ApiModelProperty(value = "密码")
    @NotNull(message = "密码不得为空")
    private String password;

}
